﻿using MangoMes.Commont.DTOs;
using MediatR;

namespace ManagoMes.Read.API.Applications.ProductionRead
{
    public class ProductionSearchCommand:IRequest<CodePageDTO<ProductionDTO>>
    {
        /// <summary>
        /// 报工类型主键
        /// </summary>
        public int ProductionTypeId { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        public string? WorkStationName { get; set; }
        /// <summary>
        /// 生产工单No
        /// </summary>
        public string? ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 物料编码（自动生成）
        /// </summary>
        public string? ProductManageNode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? ProductManageName { get; set; }
        /// <summary>
        /// 报工部门
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int ProductionStart { get; set; }//0草稿,1审批中，2已完成
        public int pageIndex { get; set; }
        public int pageSize { get; set; }
    }
}
